package com.aaa.mapper;

import com.aaa.entity.LeadingUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 前台用户管理dao接口
 */
public interface LeadingMapper extends BaseMapper<LeadingUsers> {
    //查询所有前台用户
    public List<LeadingUsers> listAll(String keyword);

    //根据前台用户lid删除用户
    public Integer delete(Integer lid);

    //重置密码
    public Integer resetPasswords(LeadingUsers leadingUsers);

    //启用前台用户
    public Integer updateQi(LeadingUsers leadingUsers);

    //禁用前台用户
    public Integer updateJin(LeadingUsers leadingUsers);
}
